
// <copyright file="IDbStrategy.cs" company="Subhadra Software Solutions">
//   
// </copyright>
// <summary>
//   The DbStrategy interface.
// </summary>

namespace SubhadraSolutions.Sharp.Utils.Data
{
    using System.Data;

    /// <summary>
    /// The DbStrategy interface.
    /// </summary>
    public interface IDbStrategy
    {
        #region Public Properties

        /// <summary>
        /// Gets the bulk copier.
        /// </summary>
        IBulkCopier BulkCopier { get; }

        #endregion Public Properties

        #region Public Methods and Operators

        /// <summary>
        /// The create connection.
        /// </summary>
        /// <returns>
        /// The <see cref="IDbConnection"/>.
        /// </returns>
        IDbConnection CreateConnection();

        /// <summary>
        /// The create dummy connection.
        /// </summary>
        /// <returns>
        /// The <see cref="IDbConnection"/>.
        /// </returns>
        IDbConnection CreateDummyConnection();

        #endregion Public Methods and Operators
    }
}
